<div class="set-c">
    <nz-content class="img-body">
      <div class="img-box">
        <img *ngIf="isShowFImg" class="logovalue" src="{{ _imgURL }}" alt="">
        <!-- <div class="small-img-box" *ngIf="croppedImage"> -->
          <!-- <img [src]="croppedImage.base64" /> -->
        <!-- </div> -->
        
        <image-cropper
            [imageChangedEvent]="imageChangedEvent"
            [maintainAspectRatio]="true"
            [aspectRatio]="4 / 4"
            [resizeToWidth]="300"
            [onlyScaleDown]="true"
            format="png,jpeg"
            (imageCropped)="imageCropped($event)"
            (imageLoaded)="imageLoaded()"
            (loadImageFailed)="loadImageFailed()"
            ></image-cropper>
          </div>
          
          <div>
        <div class="file-text">
          <h3>仅支持jpg、png图片文件，且小于5MB</h3>
        </div>
        <div class="file-box">
          <input class="file-btn" *ngIf='!disabled' type="file"  name="item.bigurl" accept="image/*" (change)="fileChangeEvent($event)"/>
          <button nz-button nzType="default">上传图片</button>
        </div>
        <span >
          <button nz-button nzType="primary" [nzLoading]="isLoading" [disabled]="!imageChangedEvent.target && !croppedImage"  (click)="uploadImage($event,i)">保存</button>
        </span>
      </div>
      
    </nz-content>
  
  </div>
  